package j85;

import cn.hutool.core.thread.ThreadUtil;

/**
 * @author chengshuai
 * @date 2021/4/19 14:56
 */
public class UnableCreateNewThreadDemo {

    public static void main(String[] args) {
        for (int i = 0;; i++) {
            System.out.println("******i=" +   i);
            new Thread(() -> {
                ThreadUtil.sleep(Integer.MAX_VALUE);
            }, "" + i).start();
        }
    }
}
